
public class Textmath {
	
	public static void main(String[] args){
		
		double x=Math.random();
		int y= (int)(Math.random()*5);
		System.out.println(x+"-------"+y);
		
		int a=Math.abs(-2);
		double b=Math.abs(-2.24);
		System.out.println(a+"-----"+b);
		
		int c=Math.round(2.33f);
		System.out.println(c);
		
		int d=Math.min(9, 10);
		int e=Math.max(2, 100);
		System.out.println(d+"---------"+e);
		
		
		
		
		
	}

}
